{% extends "base.volt" %}

{% block pageFooter%}
    {{ javascript_include("/assets/manage/js/sys/updatePwd.js", false) }}
{% endblock %}

{% block content %}
    <div class="col-xs-12">
        <ol class="breadcrumb">
            <li>操作员</li>
            <li class="active">修改密码</li>
        </ol>
        <form id="form_update" class="form-horizontal" role="form" method="post" action="" target="ifr_send_file" enctype="multipart/form-data">
            <input type="hidden" name="callback" value="parent.setFormResult" >
            <div class="row form-group">
                <label class="col-xs-2 control-label">旧密码</label>
                <div class="col-xs-6">
                    <input type="password" class="form-control" name="oldPassword" data-rule="required; length[6~16]">
                </div>
            </div>
            <div class="row form-group">
                <label class="col-xs-2 control-label">新密码</label>
                <div class="col-xs-6">
                    <input type="password" class="form-control" name="newPassword" data-rule="required; length[6~16]">
                </div>
            </div>
            <div class="row form-group">
                <label class="col-xs-2 control-label">确认新密码</label>
                <div class="col-xs-6">
                    <input type="password" class="form-control" name="newPassword2" data-rule="required; length[6~16]; match[new_pwd]">
                </div>
            </div>
            <div class="form-group">
                <div class="col-xs-offset-2 col-xs-10">
                    <button type="submit" class="btn btn-primary"><i class="fa fa-floppy-o fa-lg"></i> 保 存</button>
                </div>
            </div>
        </form>
    </div>
{% endblock %}
